package com.atcc.test.designmodel.bridge;

/**
 * 
 * 桥接模式测试端，适用于避免多继承造成的过多类的情况
 * @author Administrator
 *
 */
public class Client {
	
	public static void main(String[] args) {
		Brand appleBrand = new Apple();
		Computer deskTopComputer = new DeskTop(appleBrand);
		deskTopComputer.info(); 
		
	}

}
